package com.bm.api.service;

import com.bm.common.dto.LotteryDto;
import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "bm-Server")
public interface LotteryService {
    @PostMapping("/server/lottery/five.do")
     R five(@RequestBody LotteryDto dto);
    @PostMapping("/server/lottery/one.do")
     R one(@RequestBody LotteryDto dto);
}
